package cn.huanzi.qch.baseadmin.sys.bookcard.service;

import cn.huanzi.qch.baseadmin.common.service.CommonServiceImpl;
import cn.huanzi.qch.baseadmin.sys.bookcard.pojo.BookCard;
import cn.huanzi.qch.baseadmin.sys.bookcard.repository.BookCardRepository;
import cn.huanzi.qch.baseadmin.sys.bookcard.vo.BookCardVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookCardServiceImpl extends CommonServiceImpl<BookCardVo, BookCard, String> implements BookCardService {

    @Autowired
    private BookCardRepository bookCardRepository;

    public BookCard findBookCardByUserName(String userName){
        return bookCardRepository.findBookCardByUserName(userName);
    }
}
